package cn.tedu.tedutest02202.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.web.builders.HttpSecurity;
//import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.web.bind.annotation.ControllerAdvice;

//@Configuration
//@Slf4j
//public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
//    @Override
//    protected void configure(HttpSecurity http) throws Exception {
//        String[] urls = {"/doc.html",
//                        "/**/*.js",
//                        "/**/*.css",
//                        "/v2/api-docs",
//                        "/swagger-resources"};
//        //super.configure(http);
//        http.authorizeRequests()//
//                .mvcMatchers(urls)
//                .permitAll()
//                .anyRequest()
//                .authenticated();
//    }
//}
